<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        /* 
            流：
            普通流、
            浮动流(float)：包裹性、块状化、向上性
            定位流(position):完全脱离普通流
        */
        *{padding: 0;margin: 0;}
        .box{
            width: 1000px;
            height: 110px;
            border: 3px solid red;
            margin: 20px auto 50px;
        }
        .box div{
            width: 200px;
            height: 100px;
            /* border: 5px solid #00f; */
        }
        .left{
            float: left;
        }
        .a{
            margin: 0 50px 0 30px;
        }
        .right{
            float: right;
        }
        .content{
            width: 500px;
            border: 3px solid #0f0;
        }
        .content-right{
            float: right;
            width: 100px;
            height: 50px;
            background-color: #0ff;
        }
    </style>
</head>
<body>
    <div class="box">
        <div style="height:120px" class="left">left</div>
        <div class="left">left</div>
        <div class="left a">aaa</div>
        <div class="left">bbb</div>
        <div class="left">ccc</div>
        <div class="left">ddd</div>
    </div>
    <div class="content">
        <span>content-left</span>
        <span class="content-right">content-right</span>
    </div>
    
</body>
</html>

